package com.ruoyi.swzl.mapper;

import java.util.List;
import com.ruoyi.swzl.domain.Receive;

/**
 * 领取登记Mapper接口
 * 
 * @author k
 * @date 2025-03-29
 */
public interface ReceiveMapper 
{
    /**
     * 查询领取登记
     * 
     * @param id 领取登记主键
     * @return 领取登记
     */
    public Receive selectReceiveById(Long id);

    /**
     * 查询领取登记列表
     * 
     * @param receive 领取登记
     * @return 领取登记集合
     */
    public List<Receive> selectReceiveList(Receive receive);

    /**
     * 新增领取登记
     * 
     * @param receive 领取登记
     * @return 结果
     */
    public int insertReceive(Receive receive);

    /**
     * 修改领取登记
     * 
     * @param receive 领取登记
     * @return 结果
     */
    public int updateReceive(Receive receive);

    /**
     * 删除领取登记
     * 
     * @param id 领取登记主键
     * @return 结果
     */
    public int deleteReceiveById(Long id);

    /**
     * 批量删除领取登记
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReceiveByIds(Long[] ids);
}
